package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import javax.validation.constraints.Size;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * EBaseDoor is a Querydsl bean type
 */
@Label("BaseDoor")
public class EBaseDoor extends AbstractIdEntity<String> {

    private static final long serialVersionUID =7523057172281L;    
    @NotNull
    @Label("basePlaceId")
    @Size(max=24)
    private String basePlaceId;

    @Label("comments")
    @Size(max=256)
    private String comments;

    @NotNull(groups={UpdateCheck.class})
    @Label("id")
    @Size(max=24)
    private String id;

    @Label("name")
    @Size(max=45)
    private String name;

    public String getBasePlaceId() {
        return basePlaceId;
    }

    public void setBasePlaceId(String basePlaceId) {
        this.basePlaceId = basePlaceId;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String toString() {
         return String.format("EBaseDoor { basePlaceId : %s,comments : %s,id : %s,name : %s }",basePlaceId,comments,id,name);
    }

}

